//
//  RentHouseModel.h
//  Liuhe
//
//  Created by zr on 2018/8/20.
//  Copyright © 2018年 zr. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RentHouseModel : NSObject

@property (nonatomic, copy)NSString * name;
@property (nonatomic, copy)NSString * address;
@property (nonatomic, copy)NSString * house;
@property (nonatomic, copy)NSString * price;
@property (nonatomic, copy)NSString * area;
@property (nonatomic, copy)NSString * decorate;
@property (nonatomic, copy)NSString * ID;
@property (nonatomic, strong)NSArray * images;
@property (nonatomic, copy)NSString * phone;
@property (nonatomic, copy)NSString * ctime;

//KVC
+(instancetype)modelWithDictionary:(NSDictionary *)dic;

//访问网络
+(void)rentModelWithDict:(NSDictionary *)dict WithSucess:(void(^)(NSArray<RentHouseModel *> *array))sucessBlock error:(void(^)(void))errorBlock;

@end
